package com.yunshipei.core.net;

import org.json.JSONObject;

import io.reactivex.Flowable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;
import retrofit2.http.Streaming;

public interface DocConvertApi {

    @POST("/dcs.web/upload")
    @Streaming
    Flowable<JSONObject> uploadConvert(@Body RequestBody requestBody);

    @POST("/dcs.web/onlinefile")
    @Streaming
    Flowable<JSONObject> docServerConvert(@Body RequestBody requestBody);
}
